<template>
    <div class="subnav">
      <ul class="navbar" >
        <router-link to="/movies_left">
          <li><a  href="javascript:void (0)">正在热映</a></li>
        </router-link>
        <router-link to="/movies_center">
          <li><a  href="javascript:void (0)">即将上映</a></li>
        </router-link>
        <router-link to="/movies_right">
          <li><a href="javascript:void (0)">经典影片</a></li>
        </router-link>
      </ul>
    </div>
</template>

<script>
    export default {
      name: "movies_subnav"
    }
</script>

<style scoped>
  .subnav{
    text-align: center;
    align-content: center;
    width: 100%;
    height: 80px;
    background: rgba(38, 36, 38, 0.84);
  }
  .navbar{
    margin-left:10px;
  }
  .navbar  li a{
    display: block;
    font-size: 16px;
    color: #999;
    height: 60px;
    line-height: 60px;
    padding: 0 40px;
    text-align: center;
  }
  li{
    display: inline-block;
    text-align: center;
  }
  .navbar  li a:hover{
    color: red;
  }
</style>
